import request from '@/utils/request'

// 查询审批办证申请表列表
export function listTezhongCertgaizhang(query) {
  return request({
    url: '/certificate/tezhongCertgaizhang/list',
    method: 'get',
    params: query
  })
}

// 查询审批办证申请表详细
export function getTezhongCertgaizhang(id) {
  return request({
    url: '/certificate/tezhongCertgaizhang/' + id,
    method: 'get'
  })
}

// 新增审批办证申请表
export function addTezhongCertgaizhang(data) {
  return request({
    url: '/certificate/tezhongCertgaizhang',
    method: 'post',
    data: data
  })
}

// 修改审批办证申请表
export function updateTezhongCertgaizhang(data) {
  return request({
    url: '/certificate/tezhongCertgaizhang',
    method: 'put',
    data: data
  })
}

// 删除审批办证申请表
export function delTezhongCertgaizhang(id) {
  return request({
    url: '/certificate/tezhongCertgaizhang/' + id,
    method: 'delete'
  })
}

// 盖章提交
export function tezhonggaizhangApprovalSubmit(CertCertificate) {
  return request({
    url: '/certificate/tezhongCertgaizhang/tezhonggaizhangApprovalSubmit',
    method: 'post',
    data: CertCertificate
  })
}